#!/usr/bin/env python
#
# messages for import into other SCF2 routines
#
# Author:   Mike Murphy (mamurph@cs.clemson.edu)
# Revision: 14 July 2008
#
#   Copyright 2007-2008 Clemson University
#
#   Licensed under the Apache License, Version 2.0 (the "License");
#   you may not use this file except in compliance with the License.
#   You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
#   Unless required by applicable law or agreed to in writing, software
#   distributed under the License is distributed on an "AS IS" BASIS,
#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#   See the License for the specific language governing permissions and
#   limitations under the License.
#
# This material is based upon work supported under a National Science
# Foundation Graduate Research Fellowship. Any opinions, findings,
# conclusions or recommendations expressed in this publication are those of
# the author(s) and do not necessarily reflect the views of the National
# Science Foundation.

# This module COULD be made i18n-compliant... but the small number of
# potential messages makes the added complexity unnecessary.

MSG_SCAN_ERROR = '%s: ERROR: %s'
MSG_SCAN_ERROR_WITH_LINE = '%s:%d: ERROR: %s'
MSG_SYNTAX_ERROR = 'Syntax error'

MSG_SCAN_WARNING = '%s: WARNING: %s'
MSG_SCAN_WARNING_WITH_LINE = '%s:%d: WARNING: %s'
MSG_CIRCULAR_IMPORT = 'Dropped circular file import: %s'

MSG_IMPORT_SCAN_FAIL = 'Errors scanning imported file: %s'

MSG_PARSE_ERROR_WITH_LINE = MSG_SCAN_ERROR_WITH_LINE
MSG_PARSER_UNEXPECTED_EOF = 'Unexpected end of file'

MSG_SEMANTIC_ERROR = '%s:%d: Unexpected or unknown statement'
